import modal from './modal';
import cache from './cache';

// 预设动画
import animate from '@/animate';

import { App } from 'vue';

export default function installPlugin(app: App) {
  // 模态框对象
  app.config.globalProperties.$modal = modal;

  // 缓存对象
  app.config.globalProperties.$cache = cache;

  // 预设动画
  app.config.globalProperties.animate = animate;
}
